<%--
  Created by IntelliJ IDEA.
  User: Administrator
  Date: 2018/2/24 0024
  Time: 15:30
  To change this template use File | Settings | File Templates.
--%>
<%@ page language="java" pageEncoding="utf-8" %>
<%@ include file="/include/taglibs.jsp" %>

<script src="${path}/static/taoshunda/auditing/waiterService.js"></script>
<link href="${path}/static/css/public/public.css" rel="stylesheet" type="text/css">

<div class="input-group col-xs-2" style="float: left;margin-bottom: 5px">
    <input type="text" class="form-control entry" id="name" placeholder="请在这里输入服务名称">
</div>
<%--<div class="input-group col-xs-2" style="float: left;margin-bottom: 5px">--%>
<%--<input type="text" class="form-control entry" id="cityName" placeholder="请在这里输入城市名称">--%>
<%--</div>--%>
<div style="float: left;margin-bottom: 5px">
    <button type="button" class="btn query_button" onclick="queryWaiter()" style="width: 100px;margin-left: 5px">
        <%--<span class="glyphicon glyphicon-search" aria-hidden="true"></span>--%>
        查询
    </button>
</div>

<table id="table"
       class="table table-striped table-bordered"
       data-toggle="table"
       data-url="${path}/web/waiterService/queryAuditingBus"
       data-toolbar="#toolbar"
       data-side-pagination="server"
       data-pagination="true"
       data-page-list="[5, 10, 20, 50, 100, 200]"
>
    <thead>
    <tr>
        <th data-field="id" data-visible="false">编号</th>
        <th data-field="waiterNames">服务类型</th>
        <th data-field="waiterName">服务标题</th>
        <%--<th data-field="name">城市地区</th>--%>
        <th data-formatter="picture">认证图片</th>
        <th data-field="waiterAdress">详细位置</th>
        <th data-field="star">星级分数</th>
        <th data-field="created">创建时间</th>
        <th data-field="phone">联系人电话</th>
        <th data-field="phoneName">联系人</th>
        <th data-formatter="operateFormatter" data-events="operateEvent">操作</th>
    </tr>
    </thead>
</table>


<div id="queryWaiterService-div" class="slidingmenu box-model box box-info">
    <div class="box-header">
        <h3 class="box-title">审核信息</h3>
    </div>

    <div style="margin-top: 1%">
        <from role="form" method="post" id="throughWaiterServiceFrom">
            <input type="hidden" id="id" name="id">

            <div class="form-group col-xs-7">
                <label>时间(年):</label>
                <input type="text" class="form-control entry" id="time" readonly="readonly" style="width: 50%">
            </div>

            <div class="form-group col-xs-7">
                <label>价格:</label>
                <input type="text" class="form-control entry" id="money" readonly="readonly" style="width: 50%">
            </div>

            <div class="form-group col-xs-7">
                <label>星级:</label>
                <input type="text" class="form-control entry" id="star" style="width: 50%">
            </div>

            <div class="form-group col-xs-7" id="showPer" style="display: none">
                <label>个人:</label><br>
                <img height="100" id="picPer" src="${path}/static/images/commons/img_add.png"
                     onclick="enlargePic(this)">
            </div>

            <div class="form-group col-xs-7" id="showBus" style="display: none">
                <label>企业:</label><br>
                <img width="200" height="100" id="picBus" src="${path}/static/images/commons/img_add.png"
                     onclick="enlargePic(this)">
            </div>
        </from>
    </div>

    <div class="box-footer col-xs-7" style="margin-top: 0%">
        <button class="btn btn-info" data-event="submit-waiterBusiness">审核通过</button>
        &nbsp;
        <button class="btn close-model" style="background-color: red;color: snow">关闭</button>
    </div>
</div>


<div id="showBigPhoto-div" style="z-index:999" class="slidingmenu box-model box box-info" model-width="50%"
     model-left="50%">

    <div class="box-header" id="showName">
        <h3 class="box-title"></h3>
    </div>
    <div style="margin-top: 5%;margin-left: 5%" id="showBigPhoto">

    </div>
    <div class="box-footer" style="margin-top: 15%">
        <button class="btn close-model" style="background-color: red;color: snow">关闭</button>
    </div>
</div>